package com.yida.wy.common.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 查询业主请求参数
 *
 * @author lqq
 */
@ApiModel("小区业主信息管理-业主列表请求")
public class WyBaseOwnerQueryRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("小区ID")
	@NotNull(message = "请求数据有误[communityId]为空")
	private Long communityId;

	@ApiModelProperty("房号")
	private String roomNum;

	public Long getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}

	public String getRoomNum() {
		return roomNum;
	}

	public void setRoomNum(String roomNum) {
		this.roomNum = roomNum;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjBaseOwnerQueryRequest{");
		sb.append("communityId=").append(communityId);
		sb.append(", roomNum='").append(roomNum).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
